package com.bloveoacom.weichi.contract;



import com.bloveoacom.mvp.BaseListPresenter;
import com.bloveoacom.mvp.BasePresenter;
import com.bloveoacom.mvp.IListView;
import com.bloveoacom.mvp.IModel;
import com.bloveoacom.mvp.IView;
import com.bloveoacom.weichi.bean.PostCoinBean;

import io.reactivex.Flowable;
import retrofit2.http.Query;

/**
 * author: zhu.px
 * e-mail: 1271901673@qq.com
 * time  : 2018/8/22
 * desc  : 我的
 */
public interface PostListContract {

    //页面V
    interface View extends IListView {
              void getSuccess(PostCoinBean bean);

              String getSort();
    }

    //数据M
    interface Model extends IModel {
        Flowable<PostCoinBean> getCoinNewsList(int pageNum, int pageSize, String sort);

    }

    //交互P
    abstract class Presenter extends BaseListPresenter<View, Model> {

    }
}
